package com.cimr.comm.servlet;


import cn.hutool.core.util.StrUtil;
import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import com.cimr.comm.util.ConfUtil;
import com.cybermkd.mongo.kit.MongoKit;
import com.cybermkd.mongo.plugin.MongoPlugin;
import com.mongodb.MongoClient;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import java.util.Objects;

/**
 * Created by liqi on 2018/3/14.
 * liqiwork@qq.com
 */
public class StartupServlet extends HttpServlet {
    private final static Log log = LogFactory.get();

    public final void init() throws ServletException {

        log.warn("     ////////////////////////////////////////////////////////////////////\n"+
                "      //                          _ooOoo_                               //\n"+
                "      //                         o8888888o                              //\n"+
                "      //                         88\"   \"88                              //\n"+
                "      //                         (| ^_^ |)                              //\n"+
                "      //                         O\\  =  /O                              //\n"+
                "      //                      ____/`---'\\____                           //\n"+
                "      //                    .'  \\\\|     |//  `.                         //\n"+
                "      //                   /  \\\\|||  :  |||//  \\                        //\n"+
                "      //                  /  _||||| -:- |||||-  \\                       //\n"+
                "      //                  |   | \\\\\\  -  /// |   |                       //\n"+
                "      //                  | \\_|  ''\\---/''  |   |                       //\n"+
                "      //                  \\  .-\\__  `-`  ___/-. /                       //\n"+
                "      //                ___`. .'  /--.--\\  `. . ___                     //\n"+
                "      //              .\"\" '<  `.___\\_<|>_/___.'  >'\"\".                  //\n"+
                "      //            | | :  `- \\`.;`\\ _ /`;.`/ - ` : | |                 //\n"+
                "      //            \\  \\ `-.   \\_ __\\ /__ _/   .-` /  /                 //\n"+
                "      //      ========`-.____`-.___\\_____/___.-`____.-'========         //\n"+
                "      //                           `=---='                              //\n"+
                "      //      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //\n"+
                "      //            佛祖保佑       永不宕机     永无BUG                 //\n"+
                "      ////////////////////////////////////////////////////////////////////");
    }
}
